package iotwisp.base.cqrs;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 命令基类
 * 
 * @author yuxx
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@SuppressWarnings("serial")
public abstract class DomainBaseCommand extends BaseCommand {

	public DomainBaseCommand() {
	}
	
	public DomainBaseCommand(BaseCommand cmd) {
		setUnitOfWork(cmd.getUnitOfWork());
	}
}
